/**
 * Created by xiebang
 * Description
 * User:小谢
 * Date:2021-09-27
 * Time:18:47
 */
public class TestDemo {
    public static void main(String[] args) {
        String str = "ABCDEF";
        System.out.println(str.indexOf("D"));
        

    }
}
